package com.itheima.demo01.File;

import java.io.File;

public class Demo01File {
    public static void main(String[] args) {
        String pathSeparator = File.pathSeparator;
        System.out.println(pathSeparator);//window系统下是";",Linux系统下是":"
        String separator = File.separator;
        System.out.println(separator);//window系统下是"\",Linux系统下是"/"
    }
}
